<!DOCTYPE html>

<!-- 样式参看 https://www.runoob.com/try/try.php?filename=trycss_grid3 -->
<!-- 邮件发送模板 -->
<html>

<head>
  <meta charset="utf-8" />
  <title>AIT同步日报</title>
  <style>
    .head{
      margin: 10px;
    }
    .body{
      margin: 10px;;
    }
    .foot{
      margin: 10px;
    }

    .import {
      color: red;
    }
    .normal {
      color: #505050;
      font-size: 16px;
    }
    .item_label{
      color:#505050;
    }
    .item_value{
      margin: 0px 10px;
      color: #505050;
      border-bottom: 1px black solid;
      padding: 2px;
    }
    .card{
      border: 1px solid;
			border-radius: 10px;
			box-shadow: 5px 5px 3px #888888;
			margin: 15px;
      background-color: #f0f0f0;
    }
    .title {
      color: black;
      text-align: center;
    }

    .stat_table table {
      width: 400px;
      margin: 10px 10px;
      text-align: center;
    }
    .stat_table thead {
      background-color: #888888;
    }
    .stat_table table td,
    .stat_table table th {
      border: 1px solid #000000;
      padding: 15px;
    }
    
  </style>
</head>

<body>
  

  <div class="card">
    <div class="head">
      <h1 class="title">AIT同步日报[{cur_date}]</h1>
      <p><span class="item_label">统计时间:</span><span class="item_value">[{cur_time}]</span></p>
      <p class="item_label">统计范围:</p>
      <p><span class="item_label">开始时间</span><span class="item_value">[{time1}]</span></p>
      <p><span class="item_label">结束时间</span><span class="item_value">[{time2}]</span></p>
    </div>
    
    <div class="stat_table">
      <table cellspacing="0">
        <thead>
          <tr>
            <th>指标名称</th>
            <th>指标值</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>同步记录数</td>
            <td>{last_cnt}</td>
          </tr>
          <tr>
            <td>错误记录数</td>
            <td><span class="import">{err_cnt}</span></td>
          </tr>
          <tr>
            <td>流程调用次数</td>
            <td>{flow_cnt}</td>
          </tr>
          <tr>
            <td>服务调用次数</td>
            <td>{serv_cnt}</td>
          </tr>
        </tbody>
      </table>
    </div>
  
    <div class="foot">
      <p class="import">详细信息请见附件,务必检查错误记录!</p>
    </div>

  </div>
</body>

</html>